function getFilterData(main, filterToGetID)

filterToGet = ['filter' num2str(filterToGetID)];  % Notation

%% GUI lecture
order = str2double(get(main.handles.txt_order,'String'));
Q = str2double(get(main.handles.txt_Q,'String'));
groupDelay = str2double(get(main.handles.txt_groupDelay,'String'));
GDtolerance = str2double(get(main.handles.txt_GDtolerance,'String'));
approximationType = get(main.handles.menu_appType, 'Value');


%% 

main.(filterToGet).order = order;
main.(filterToGet).Q = Q;
main.(filterToGet).groupDelay = groupDelay;
main.(filterToGet).GDtolerance = GDtolerance;
main.(filterToGet).approximationType = approximationType;
main.(filterToGet).filterID = filterToGetID;
main.(filterToGet).groupDelay = groupDelay; 
main.(filterToGet).GDtolerance = GDtolerance;


end